package framework.controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;

import javax.swing.JPanel;

import framework.model.Model;

/**
 * All the other controllers must implement this class.
 * @author Stephan Veenstra
 * @version 0.1
 */

abstract public class Controller implements ActionListener {

	
	private Model model;
	
	public Controller(Model model) {
		this.model = model;
	}
	
	/**
	 * Constructor without parameters
	 * @method Controller (Constructor)
	 */
	public Controller() { 
		//TODO fill
	};
	
	protected Model getModel() {
		return this.model;
	}
	
	protected void setModel(Model model) {
		this.model = model;
	};

}
